import gtk


class entry(object):

    def incoming(self, event):
        area, = event.data
        gc = area.window.new_gc()
        x = getattr(event.shape, "x", 10)
        y = getattr(event.shape, "y", 10)
        area.window.draw_rectangle(gc, False, x, y, 20, 20)